package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/18
*/
@Data
@Table(name = "tbl_cdmp_benefit")
@NoArgsConstructor
@AllArgsConstructor
public class TblCdmpBenefit extends BaseEntity {
    @Column(name = "plan_id")
    private String planId;

    private String name;

    private Integer status;

    @Column(name = "country_id")
    private String countryId;

    @Column(name = "start_date")
    private Date startDate;

    @Column(name = "end_date")
    private Date endDate;

    @Column(name = "home_based_fee")
    private BigDecimal homeBasedFee;

    /**
     * Payment frequency(annual)
     */
    @Column(name = "payment_discount")
    @ApiModelProperty("Payment frequency(annual)")
    private BigDecimal paymentDiscount;

    /**
     * 多个条件以,拼接
     */
    @ApiModelProperty("多个条件以,拼接")
    private String conditions;

    @Column(name = "specialist_company_id")
    private String specialistCompanyId;

    @Column(name = "drug_exclusion_list_id")
    private String drugExclusionListId;

    @Column(name = "diagnosis_exclusion_list_id")
    private String diagnosisExclusionListId;

    @Column(name = "medical_service_exclusion_list_id")
    private String medicalServiceExclusionListId;

    @Column(name = "onboarding_screens_id")
    private String onboardingScreensId;

    @Column(name = "allow_promo_code")
    private Integer allowPromoCode;

    @Column(name = "allow_acute_consult")
    private Integer allowAcuteConsult;

    /**
     * 可复购的天数
     */
    @Column(name = "reactivate_days")
    @ApiModelProperty("可复购的天数")
    private Integer reactivateDays;

    @Column(name = "remind_days_appointment")
    private Integer remindDaysAppointment;

    @Column(name = "remind_days_medication")
    private Integer remindDaysMedication;

    @Column(name = "description_active")
    private String descriptionActive;

    @Column(name = "description_exceeded")
    private String descriptionExceeded;

    @Column(name = "description_expired")
    private String descriptionExpired;

    @Column(name = "description_programme")
    private String descriptionProgramme;

    @Column(name = "termsAndConditions")
    private String termsandconditions;
}